<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<h1>Login</h1>

<% form_for @user_session, :url => user_session_path do |f| %>
  <%= f.error_messages %>
  <%= f.label :email %><br />
  <%= f.text_field :email %><br />
  <br />
  <%= f.label :password %><br />
  <%= f.password_field :password %><br />
  <br />
  <%= f.check_box :remember_me %><%= f.label :remember_me %><br />
  <br />
  <%= f.submit "Login" %>
  <br/>Not our user,
  <%= link_to "Register", :controller => "users", :action => "new" %>
<% end %>
